{include file="./include/header.tpl"}
        <div class="contentFrame">
            <div class="hr cB mb20"></div>
            <div class="contentBox">
                {include file="./include/banner.tpl"}
                <div class="contactBox tC">
                    <form action="contact" method="post" enctype="multipart/form-data" id="contactForm" name="contactForm">
                        <input type="hidden" name="transid" value="{$transactionid}">
                        <input type="hidden" name="mode" value="confirm">
                        <strong>
                            <span class="label"> ＜{$lang.contactBoxT1}＞ </span>
                        </strong>
                        <div class="contactDiv">
                        {if !isset($contacted)}
                            {if !empty($arrErr)}
                            <div class="errMsg">
                                {foreach from=$arrErr item="val"}
                                    {if $val.error != ''}{$val.error}<br>{/if}
                                {/foreach}
                            </div>
                            {/if}
                            <dl class="confirm">
                                <dt>{$lang.name}</dt>
                                <dd>
                                    {assign var=key value="name"}
                                    <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                                </dd>
                                <dt>{$lang.company_name}</dt>
                                <dd>
                                    {assign var=key value="company_name"}
                                    <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                                </dd>
                                <dt>{$lang.nation}</dt>
                                <dd>
                                    {assign var=key value="nation"}
                                    <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                                </dd>
                                <dt>{$lang.phone}</dt>
                                <dd>
                                    {assign var=key value="phone"}
                                    <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                                </dd>
                                <dt>{$lang.email}</dt>
                                <dd>
                                    {assign var=key value="email"}
                                    <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                                </dd>
                                <dt>{$lang.content}</dt>
                                <dd>
                                    {assign var=key value="content"}
                                    <textarea name="{$key}" required aria-required="true">{$arrForm[$key].value}</textarea>
                                </dd>
                            </dl>
                            <div class="cB">
                                <input type="submit" value="{$lang.sendBtn}" />
                                <input type="reset" id="clearCondition" value="{$lang.resetBtn}" />
                            </div>
                        {else}
                            <div>{$lang.contactContentT1}</div>
                        {/if}
                        </div>
                    </form>
                </div>
				<div class="cB mb20"></div>
            </div>
        </div>
<script type="text/javascript">
$(document).ready(function(){

    // clear form
    $("#clearCondition").click(function(){
        $('#contactForm').find('input:text, input:password, select, textarea').val('');
        $('#contactForm').find('input:radio, input:checkbox').prop('checked', false);
    })
})
</script>
{include file="./include/footer.tpl"}